﻿using Abp.Application.Services;
using MyCompanyName.AbpZeroTemplate.Gantt.Dto;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
namespace MyCompanyName.AbpZeroTemplate.Gantt
{
    public interface IGanttAppService : IApplicationService
    {
        string GetGannts(string q, int projectId);
        string Sync([FromUri] int projectId);
        GetTaskOutPut Get([FromUri] int taskId);
        List<GetProcessOutPut> GetProcess([FromUri] int taskId);
        List<GetFileOutPut> GetFiles([FromUri] int taskId);
        void SaveProcess(CreateProcessInPut input);
        void SaveAttachment();
        void SetTaskPushMessage();
        Task CreateChangeLog();
        List<GetChangeLogOutPut> GetChangeLog([FromUri]int projectId);
        void Export();

        void Import();

        /// <summary>
        /// 到期需要开始的计划
        /// </summary>
        void GetMailGanteToStart();
        /// <summary>
        /// 到期需要结束的计划
        /// </summary>
        void GetMailGanteToEnd();
    }
}
